<!--  -->
<template>
  <div>
  课程添加 {{ id }}
  </div>
</template>

<script lang='ts' setup>
import { reactive,toRefs,ref,onMounted} from 'vue'
import {useRoute} from 'vue-router'
const route=useRoute();
const id=ref(route.query?.id);

onMounted(()=>{

  console.log("页面重新加载");
  
})

</script>
<style scoped>
</style>